#ifndef AVALON_HTTPSESSION_HPP
#define AVALON_HTTPSESSION_HPP
#include "Avalon/WebServices/Cookie.hpp"

namespace Avalon {
namespace WebServices {

  /*! \class HttpSession
   *  \brief Stores information about an HTTP session.
   *  \author Kamal Mansouri <kranar@hotmail.com>
   */
  class HttpSession {
    public:

      virtual ~HttpSession();

      //! Returns the session Cookie.
      const Cookie& GetSessionCookie() const;

    private:
      friend class HttpSessionHandler;
      Cookie m_sessionCookie;

      void SetSessionCookie(const Cookie& sessionCookie);
  };
}
}

#endif // AVALON_HTTPSESSION_HPP
